package com.edu.common.entity;

/**
 * 分页实体类
 */
public class PageEntity {

    private Integer current;
    private Integer pageSize;
    private Integer total;
    private Object data;

    public PageEntity(Integer current, Integer pageSize, Integer total, Object data) {
        this.current = current;
        this.pageSize = pageSize;
        this.total = total;
        this.data = data;
    }

    public PageEntity() {
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
